package com.eqdd.yiqidian.ui.gongneng.renshi.train;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.View;

import com.eqdd.yiqidian.base.BaseShowActivity;
import com.eqdd.yiqidian.base.Config;
import com.eqdd.yiqidian.ui.gongneng.renshi.train.fragment.SignFragment;

/**
 * @author吕志豪 .
 * @date 18-2-1  下午3:02.
 * Github :https://github.com/lvzhihao100
 * E-Mail：1030753080@qq.com
 * 简书 :http://www.jianshu.com/u/6e525b929aac
 */

public class TrainSignListActivity extends BaseShowActivity {
    @Override
    protected void initTitle() {
        titles.add("待考勤");
        titles.add("已完成");
        initTopTitleBar(View.VISIBLE, "培训考勤列表");
    }

    @Override
    protected Fragment getFragment(int i) {
        SignFragment signFragment = new SignFragment();
        Bundle bundle = new Bundle();
        bundle.putInt(Config.TYPE, i == 0 ? 0 : 2);
        signFragment.setArguments(bundle);
        return signFragment;
    }

    @Override
    public void initData() {

    }
}
